import { $get } from '@js/authRequest'
import { decomporessListLicenseAndMobileAndBank } from '@src/assets/js/tool'

// 获取案件仲裁员列表
export async function getCaseArbitratorList (caseid) {
  const res = await $get(`/api/xapc/case/${caseid}/arbitrator`)
  if (res.status !== 1) {
    return new Error(res.message)
  }
  decomporessListLicenseAndMobileAndBank(res.data)
  return res.data
}
